package com.sky.mapper;

import com.sky.anno.AutoFill;
import com.sky.entity.AddressBook;
import com.sky.enumeration.OperationType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AddressBookMapper {

    //@AutoFill(value = OperationType.INSERT)
    Integer saveAddress(AddressBook addressBook);

    List<AddressBook> seleteAddress(AddressBook addr);

    Integer updateAddress(AddressBook build);

    Integer deleteAddressById(Long id);

}
